package com.mz.ozy.bean;

/**
 * 商品规格
 */
public class GoodsSpecBean {
    private GoodsMapBean goodsMap;

    private GoodsCommonMapBean goodsCommonMap;

    public GoodsMapBean getGoodsMap() {
        return goodsMap;
    }

    public void setGoodsMap(GoodsMapBean goodsMap) {
        this.goodsMap = goodsMap;
    }

    public GoodsCommonMapBean getGoodsCommonMap() {
        return goodsCommonMap;
    }

    public void setGoodsCommonMap(GoodsCommonMapBean goodsCommonMap) {
        this.goodsCommonMap = goodsCommonMap;
    }

    public static class GoodsMapBean{


        public GoodsMapBean(int salesModuleId, String price, String goods_storage, String goods_image, String cid, String price1, String goodsspec, String goodsID, String pid) {
            this.salesModuleId = salesModuleId;
            this.price = price;
            this.goods_storage = goods_storage;
            this.goods_image = goods_image;
            this.cid = cid;
            this.price1 = price1;
            this.goodsspec = goodsspec;
            this.goodsID = goodsID;
            this.pid = pid;
        }

        private int salesModuleId;//"salesModuleId":200,
        private String  price  ;//       "price":"100.00",
        private String     goods_storage;//   "goods_storage":29,
        private String     goods_image ;//  "goods_image":"http://cdn.szfysoft.com/1_05971676157438196.png",
        private String    cid ;//   "cid":92,
        private String   price1 ;//    "price1":"100.00"
        private String goodsspec;
        private String goodsID;
        private String pid;

        public String getPid() {
            return pid;
        }

        public void setPid(String pid) {
            this.pid = pid;
        }

        public String getGoodsspec() {
            return goodsspec;
        }

        public void setGoodsspec(String goodsspec) {
            this.goodsspec = goodsspec;
        }

        public String getGoodsID() {
            return goodsID;
        }

        public void setGoodsID(String goodsID) {
            this.goodsID = goodsID;
        }

        public int getSalesModuleId() {
            return salesModuleId;
        }

        public void setSalesModuleId(int salesModuleId) {
            this.salesModuleId = salesModuleId;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getGoods_storage() {
            return goods_storage;
        }

        public void setGoods_storage(String goods_storage) {
            this.goods_storage = goods_storage;
        }

        public String getGoods_image() {
            return goods_image;
        }

        public void setGoods_image(String goods_image) {
            this.goods_image = goods_image;
        }

        public String getCid() {
            return cid;
        }

        public void setCid(String cid) {
            this.cid = cid;
        }

        public String getPrice1() {
            return price1;
        }

        public void setPrice1(String price1) {
            this.price1 = price1;
        }
    }

    public static class GoodsCommonMapBean{

        public GoodsCommonMapBean(String sepcValue, String specName, String gid) {
            this.sepcValue = sepcValue;
            this.specName = specName;
            this.gid = gid;
        }

        private String sepcValue;//"sepcValue":"{"1":{"3":"红色","5":"黄色","11":"蓝色"},"2":{"4":"1.6cm","6":"1.7cm","12":"5.5cm"}}",

        private String  specName  ;  //   "specName":"{"1":"颜色","2":"尺寸"}",
        private String gid     ; // "gid":92

        public String getSepcValue() {
            return sepcValue;
        }

        public void setSepcValue(String sepcValue) {
            this.sepcValue = sepcValue;
        }

        public String getSpecName() {
            return specName;
        }

        public void setSpecName(String specName) {
            this.specName = specName;
        }

        public String getGid() {
            return gid;
        }

        public void setGid(String gid) {
            this.gid = gid;
        }


    }



}
